﻿<%@ Page Title="" Language="C#" ClientIDMode="Static" MasterPageFile="~/User/User.Master" AutoEventWireup="true" CodeBehind="ModifyPwd.aspx.cs" Inherits="CoolERP_Web.User.ModifyPwd" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script src="../Scripts/lhgdialog/lhgcore.min.js" type="text/javascript"></script>
<script type="text/javascript">
    var DG = frameElement.lhgDG;
    function checkSubmit() {
        if (isEmpty($("#txtOldPwd").val())) {
            alert("请输入旧密码");
            return false;
        }
        if (isEmpty($("#txtOldPwd").val())) {
            alert("请输入新密码");
            return false;
        }
        return true;
    }
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td class=tbHead_L></td>
        <td class=tbHead_M><div><b>修改密码</b></div></td>
        <td class=tbHead_R></td>
    </tr>
    <tr>
        <td class=tbBody_L></td>
        <td class=tbBody_M>
            <table cellspacing="0" cellpadding=5 border="0" align=center>
                <tr>
                    <td>旧密码：</td>
                    <td><asp:TextBox ID="txtOldPwd" runat="server" TextMode=Password></asp:TextBox></td>
                </tr>
                <tr>
                    <td>新密码：</td>
                    <td><asp:TextBox ID="txtNewPwd" runat="server" TextMode=Password></asp:TextBox></td>                                            
                </tr>
                <tr><td></td>
                    <td><asp:ImageButton ID="btnSave" runat="server" ImageUrl="~/Images/Common/btn_save0.png" onclick="btnSave_Click" OnClientClick="return checkSubmit();" />
                        &nbsp;&nbsp;&nbsp;&nbsp;<input type=image src="../Images/Common/btn_close.png" onclick="DG.cancel();" />&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:Label ID="labResult" runat="server" ForeColor=Red></asp:Label></td>
                </tr>
            </table>
        </td>
        <td class=tbBody_R></td>
    </tr>
    <tr>
        <td class=tbFoot_L></td>
        <td class=tbFoot_M></td>
        <td class=tbFoot_R></td>
    </tr>
</table>
</asp:Content>
